@import 'common';
.popup-box{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.6);
  z-index: 61;
}
.btn {
  width: 96px;
  height: 40px;
  border-radius: 4px;
  background-color: rgb(0, 167, 255);
  color: #fff;
  text-align: center;
  line-height: 40px;

}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width:90%;
  height: auto;
  background-color: rgb(58, 67, 83);
  color: #fff;

  .popup-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    background-color: rgb(0, 167, 255);

    img {
      width: 14px;
      height: 14px;

    }
  }

  .popup-main {
    overflow: auto;
    max-height: 400px;
    padding: 0 12px;
  }
}

.popup-vehicles-info {
  .popup-content {
    width: 800px;
    .popup-main{
      font-size: 28px;
      padding: 20px;
      line-height: 2;
    }
  }
}
.popup-footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px;
  .btn:first-child {
    margin-right: 16px;
    background-color: #8aa3b6;
    color: #3a4454;
  }
}

.btn-span {
  span {
    margin: 0 20px;
  }
}

.factor-box {

  //display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 20px;
  border-radius: 4px;
  transform: translate(-50%,-50%);
  background-color: rgba(0,0,0,.8);
  .btn-box {
    display: flex;
    padding-left: 72px;
    .btn:first-child {
      margin-right: 16px;
      background-color: #8aa3b6;
      color: #3a4454;
    }
  }
}

.input-box {
  //display: flex;
  //align-items: center;
  //justify-content: space-between;
  padding: 8px 0;
  color: #8aa3b6;

  .flex {
    display: flex;
    align-items: center;
    margin :10px 22px;

    .input {
      border: 1px solid rgb(73, 92, 124);
      background-color: rgb(28, 32, 39);
      width: 240px;
      height: 40px;

      img {
        width: 13px;
      }

      &.select {
        position: relative;
        padding-right: 24px;

        img {
          position: absolute;
          right: 6px;
          top: 50%;
          transform: translateY(-50%);
        }
      }

      input {
        height: 100%  ;
        padding: 0 6px;
      }
    }
  }
}

table {
  width: 100%;
  border: 1px solid rgb(73, 92, 124);
  background-color: rgb(63, 75, 95);
  th, td {
    max-width: 20%;
    text-align: center;
    height: 48px;
    color: #8aa3b6;
    border-right: 1px solid rgb(73, 92, 124);
    font-size: 18px;
    &:last-child {
    }
  }
  tr {
    th, td:last-child {
      border-right: 0
    }
  }

  td {
    border-top: 1px solid rgb(73, 92, 124);
  }
}

.popup-reposition {
  .popup-main {
    padding: 60px;
    .flex-box {
      display: flex;
      align-items: center;
      .mui-input-row{
        width: 80%;
        label{
          width: 15%;
          &~input {
            width: 85%;
          }
        }
      }
    }
    .input-box {
      input{
        background-color: #0e2843;
      }
    }
  }
}
.popup-multiple-station {
  .popup-main{
    padding: 20px  ;
  }
  .popup-btn-box{

  }
}
.mui-popup {
  z-index: 66;
}
.popup-workStation {
  .popup-main{
    .order-main{
      padding: 20px;
      .flex-1{
        p{
          margin: 0 !important;
          color: #fff;
          font-size: 14px;
        }

      }
      .order-radio,.order-input{
        display: flex;
        align-items: center;
        width: 100%;
      }
      .order-input {
        input{
          max-width: 200px;
          margin: 0 10px;
          text-align: left;
        }
      }
    }
  }
}
.popup-selectWorkStation,.popup-selectVehicles {
  .popup-content {
    padding: 40px;
    background : url("../img/pop-main.png") transparent;
    background-size: 100% 100%;
  }
  .popup-img-box{
    position: relative;
  }
  .popup-img-box{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    &.img44{
      max-height: 320px;
      overflow: auto;
      .select-img{
        width:120px;
        //height: 40px;
      }
    }
    &.img29{
      .select-img{
        width: 74px;
      }
    }
  }
  .select-img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 75px;
    margin-left: 3px;
    margin-bottom: 3px;
    padding: 10px;
    background-image: url("../img/select-2.png");
    text-align: center;
    font-size: 12px;
    color: rgb(0, 150, 255);
    line-height: 1.2;
    background-size: 100% 100%;

    &.active {
      background-image: url("../img/select-1.png");
      color: #fff;
    }
    i,b{
      display: none;
    }
  }
  .popup-select-footer{
    //display: flex;
    //justify-content: end;
    width: 100%;
    padding : 20px 15px 0 0;
    .btn {
      float: right;
      height: 36px;
      line-height: 36px;
      font-size: 12px;
    }
  }
}
.popup-selectVehicles{

  .select-img{
    width: 100px;
    margin-left:10px;
    margin-bottom: 0;
  }
}
